package entity;

public class ReaderType {
    private  int id;
    private  String typename;
    private  int maxborrownum;
    private  int readerlimit;

    @Override
    public String toString() {
        return "ReaderType{" +
                "id=" + id +
                ", typename='" + typename + '\'' +
                ", maxborrownum=" + maxborrownum +
                ", readerlimit=" + readerlimit +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public int getMaxborrownum() {
        return maxborrownum;
    }

    public void setMaxborrownum(int maxborrownum) {
        this.maxborrownum = maxborrownum;
    }

    public int getReaderlimit() {
        return readerlimit;
    }

    public void setReaderlimit(int readerlimit) {
        this.readerlimit = readerlimit;
    }

    public ReaderType(int id, String typename, int maxborrownum, int readerlimit) {
        this.id = id;
        this.typename = typename;
        this.maxborrownum = maxborrownum;
        this.readerlimit = readerlimit;
    }
    public ReaderType(String typename, int maxborrownum, int readerlimit) {

        this.typename = typename;
        this.maxborrownum = maxborrownum;
        this.readerlimit = readerlimit;
    }
    public ReaderType() {
    }
}
